import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

// 导入组件
// 它只要写文件夹，就会自动找到里面的index.vue
import login from '../views/Login'

const routes = [
  { path:"/login", component: login }
]

const router = new VueRouter({
  routes
})

export default router
